package cn.itsource.itsource.service.impl;

import cn.itsource.itsource.domain.PetType;
import cn.itsource.itsource.mapper.PetTypeMapper;
import cn.itsource.itsource.service.IPetTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;


@Service
@Transactional
public class PetTypeServiceImpl implements IPetTypeService {
    @Autowired
    private PetTypeMapper petTypeMapper;


    @Override
    public List<PetType> findAll() {
        return petTypeMapper.selectAll();
    }
}
